<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>渐变图</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        @keyframes hueRotate{
            100%{
                filter: hue-rotate(360deg);
            }
        }
        .box{
            width: 100vw;
            height: 100vh;
            margin: auto;
            background: linear-gradient(30deg, #aaaa19,#e63030,#720cc5);
                   animation: hueRotate 5s infinite alternate ;
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>